import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import theme from '@chakra-ui/theme';
import { ChakraProvider } from "@chakra-ui/react";
import Login from './store/login';
import { Provider } from 'mobx-react';

ReactDOM.render(
  <Provider login={Login}>
    <ChakraProvider theme={theme}>
      <App />
    </ChakraProvider>
  </Provider>,
  document.getElementById('root')
);